def fun_out(func):
    def fun_in(*args, **kwargs):
        return func(*args, **kwargs)

    return fun_in


@fun_out
def test1(a):
    print("一个参数 a:", a)


@fun_out
def test2(a, b):
    print("两个参数 a b:", a, b)


@fun_out
def test3(a, b, c):
    print("两个参数 a b c:", a, b, c)


test1(10)
test2(10, 20)
test3(10, 20, 30)
